﻿using System.Collections.Generic;
using Validate.Library;

namespace Project.Model
{
    /// <summary>
    /// Employee审核请求
    /// </summary>
    public class EmployeeAuditRequest
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        [Validate(ValidateType.NotEmpty | ValidateType.MaxLength, MaxLength = 10, Description = "唯一标识符")]
        public  List<int> ids
        {
            get; set;
        }

        /// <summary>
        ///审核操作 1通过 2不通过
        /// </summary>
        [Validate(ValidateType.NotEmpty, Regex = ValidateRegex.Number, Description = "操作类型")]
        public int iType
        {
            get; set;
        }
    }
}
